<!-- $Id: goods_type_info.htm 14216 2008-03-10 02:27:21Z testyang $ -->

{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,validator.js"}

<div class="main-div">
  <form action="" method="post" enctype="multipart/form-data" name="theForm" onsubmit="return validate();">
    <table cellspacing="1" cellpadding="3" width="100%">
      <tr id="brand">
        <td class="label">{$lang.copyright_type}:</td>
        <td>        	<select name="copyright_id">
						{foreach from=$copyright_type item=copyright_type_list}							{if $copyright.copyright_type eq $copyright_type_list.copyright_type_id}							<option value="{$copyright_type_list.copyright_type_id}" selected="ture">{$copyright_type_list.copyright_name}							{else}
							<option value="{$copyright_type_list.copyright_type_id}">{$copyright_type_list.copyright_name}
							{/if}								</option>						{/foreach}
					</select>
        </td>
      </tr>        <td class="label">{$lang.copyright_content}:</td>        <td><textarea name="copyright_content" rows="5" cols="42" placeholder="请输入版权声明内容">{$copyright.copyright_content|escape}</textarea></td>      </tr>      <tr>      </tr>        <td class="label">{$lang.copyright_replace}:</td>        <td>        	        	<input type="radio" name="copyright_replace" value="0" {if $copyright.copyright_replace eq 0} checked="ture" {/if}/>否        	<input type="radio" name="copyright_replace" value="1" {if $copyright.copyright_replace eq 1} checked="ture" {/if}/>是        </td>      </tr>      <tr>        <td class="label">{$lang.copyright_picture}:</td>        <td>        	<input type="file" name="copyright_picture">        	<input name="file_url" type="hidden" value="{$copyright.old_img_url}" size="30" maxlength="255">        </td>      </tr>      <tr>        <td class="label"></td>        <td>        	{if $copyright.img_url }    			<a href="{$copyright.img_url}" target='_blank'><img src="{$copyright.img_url}"  width="540" height="180"/></a><br />    			(图片规格统一为：1080px * 320px)    		{/if}        </td>      </tr>
      <tr align="center">
        <td colspan="2">
          <input type="hidden" name="id" value="{$copyright.copyright_id}" />
          <input type="submit" value="{$lang.button_submit}" class="button" />
          <input type="reset" value="{$lang.button_reset}" class="button" />
          <input type="hidden" name="act" value="{$form_act}" />
        </td>
      </tr>
    </table>
  </form>
</div>

<script type="text/javascript">
<!--
{literal}
onload = function() {
  document.forms['theForm'].elements['series_name'].focus();
  startCheckOrder();
}{if $technology.technology_type eq 0}		brand();		{else}		commen();{/if}{if $technology.cat_type eq 0}		material();		{else}		technology();{/if}
function brand(){	document.getElementById('brand').style.display="";}function commen(){	document.getElementById('brand').style.display="none";}function material(){	document.getElementById('material').style.display="";	document.getElementById('technology').style.display="none";}function technology(){	document.getElementById('material').style.display="none";	document.getElementById('technology').style.display="";}
function validate()
{
  var validator = new Validator('theForm');
//validator.required('technology_name', '材料/技术名称不能为空');

  return validator.passed();
}
{/literal}  
//-->
</script>

{include file="pagefooter.htm"}
